<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/webpage/include/taglib.jsp"%>
<html>
<head>
	<title>自有车辆管理</title>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8">
	<meta name="decorator" content="ani"/>
	<%@ include file="/webpage/include/bootstraptable.jsp"%>
	<%@include file="/webpage/include/treeview.jsp" %>
	<%@include file="vehicleInformationList.js" %>
</head>
<body>
	<div class="wrapper wrapper-content">
	<div class="panel panel-primary">
	<div class="panel-heading">
		<h3 class="panel-title">自有车辆列表</h3>
	</div>
	<div class="panel-body">
		<sys:message content="${message}"/>
	
	<!-- 搜索 -->

		<div class="accordion-inner">
			<form:form id="searchForm" modelAttribute="vehicleInformation" class="form form-horizontal well clearfix">
						<div class="col-xs-6 col-sm-3 col-md-2">
							<label class="label-item single-overflow pull-left" title="：">车牌号：</label>
							<select id="name" class="form-control ">
								<option value="">请选择</option>
							</select>

						</div>


				<div class="col-xs-6 col-sm-3 col-md-2">
					<div class="form-group">
						<label class="label-item single-overflow pull-left" title="起始时间">起始时间:</label>
						<div class="col-xs-12">
							<div class='input-group date' id='minDate' >
								<input type='text'  id="min" class="form-control"  />
								<span class="input-group-addon">
			                       <span class="glyphicon glyphicon-calendar"></span>
			                   </span>
							</div>
						</div>
					</div>
				</div>
				<div class="col-xs-6 col-sm-3 col-md-2">
					<div class="form-group">
						<label class="label-item single-overflow pull-left" title="截止时间">截止时间:</label>
						<div class="col-xs-12">
							<div class='input-group date' id='maxx' >
								<input type='text'  id="max" class="form-control"  />
								<span class="input-group-addon">
			                       <span class="glyphicon glyphicon-calendar"></span>
			                   </span>
							</div>
						</div>
					</div>
				</div><shiro:hasPermission name="ap:imprest:pro">

				<div class="col-xs-6 col-sm-3 col-md-2">
					<label class="label-item single-overflow pull-left" title="：">项目：</label>
					<select id="pro" class=" form-control">
						<option value="">请选择</option>
						<option value="武汉润滑油仓储项目">武汉润滑油仓储项目</option>
						<option value="北京润滑油运输项目">北京润滑油运输项目</option>
						<option value="天津润滑油运输项目">天津润滑油运输项目</option>
						<option value="西安润滑油仓储配送项目">西安润滑油仓储配送项目</option>
						<option value="郑州润滑油运输项目">郑州润滑油运输项目</option>
						<option value="重庆润滑油仓储配送项目">重庆润滑油仓储配送项目	</option>

						<option value="石家庄润滑油仓储配送项目">石家庄润滑油仓储配送项目</option>
					</select>
				</div></shiro:hasPermission>
		 <div class="col-xs-12 col-sm-6 col-md-4">
			<div style="margin-top:26px">
			  <a  id="search" onclick="cx()" class="btn btn-primary btn-rounded  btn-bordered btn-sm"><i class="fa fa-search"></i> 查询</a>
				<a  id="export" onclick="dc()" class="btn btn-danger btn-rounded  btn-bordered btn-sm"><i class="fa fa-search"></i> 导出</a>

			</div>
	    </div>	
	</form:form>
	</div>

	<table class="table text-nowrap" >
		<tr>
			<th>总趟数</th>
			<th id="zts"></th>
			<th>总收入</th>
			<th id="zsr"></th>
			<th>总维修费</th>
			<th id="zwx"></th>
			<th>总加油费</th>
			<th id="zjy"></th>
			<th>总路桥费</th>
			<th id="zlq"></th>
			<th>总住宿费</th>
			<th id="zzs"></th>
		</tr>
		<tr>
			<th>总轮胎费</th>
			<th id="zlt"></th>
			<th>总防护费</th>
			<th id="zfh"></th>
			<th>总损耗</th>
			<th id="zsh"></th>
			<th>总其它费用</th>
			<th id="zqt"></th>
			<th>总车辆折旧</th>
			<th id="zzj"></th>
		</tr>
	</table>
<input type="hidden" id="ids"/>
	<!-- 表格 -->
		<div style="overflow: scroll;   width:100%;height: 500px;">
	<table id="vehicleInformationTable" class="table text-nowrap"   data-toolbar="#toolbar">
		<thead>
		<tr>
			<th>时间</th>
			<th>车牌号</th>
			<th>总趟数</th>
			<th>收入</th>
			<th>维修费</th>
			<th>加油费</th>
			<th>路桥费</th>
			<th>住宿费</th>
			<th>轮胎费</th>
			<th>防护费</th>
			<th>产品损耗</th>
			<th>其它费用</th>
			<th>车辆折旧</th>
		</tr>
		</thead>
		<tbody id="detil"></tbody>
	</table>
		</div>
    <!-- context menu -->
	</div>
	</div>
	</div>
</body>
</html>